package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    PageResult findDishPageQuery(DishPageQueryDTO dishPageQueryDTO);

    void addDish(DishDTO dishDTO);

    DishVO findDishById(Long id);

    void deleteDishById(Long[] ids);

    void updateDish(Integer status, Long id);

    void update(DishDTO dishDTO);

    List<Dish> findDishByCategoryId(Long categoryId);
}
